from django.conf.urls import url

from . import views

urlpatterns = [
    # 订单确认
    url(r'^orders/settlement/$', views.OrderSettlementView.as_view()),
    # 订单提交
    url(r'^orders/commit/$', views.OrderCommitView.as_view()),
    # 订单商品评价
    url(r'^orders/comment/(?P<order_id>\d+)/$', views.OrderCommentView.as_view()),
    url(r'^orders/comment/$', views.OrderCommentView.as_view()),
    # 详情页展示评价信息
    url(r'orders/comments/(?P<sku_id>\d+)/$',views.GoodsCommentView.as_view()),
]
